package com.edu.udistrital.indexing;

import org.apache.lucene.util.Version;

import com.edu.udistrital.indexing.analyzer.Analyzer;
import com.edu.udistrital.indexing.analyzer.AnalyzerClassification;
import com.edu.udistrital.indexing.document.ClassificationDocument;
import com.edu.udistrital.indexing.document.DocumentIndex;

public class ClassificationIndexer implements IndexerFactory{

	@Override
	public Analyzer fabricarAnalyzer(Version version, int idioma) {
		return new AnalyzerClassification(version);
	}

	@Override
	public DocumentIndex fabricarDocumento() {
		return new ClassificationDocument();
	}


}
